<?php 
include 'method/win.php';

if(!isset($_SESSION['adminuser'])){
    show_msg("请先登录!","A-login.php");
}
if(isset($_GET['action'])){
    logout();
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>管理员页面</title>
    <link rel="stylesheet" href="css/A-index.css">
    <link rel="stylesheet" href="../lib/bootstrap/css/bootstrap.css">
</head>
<body style="background-color:#a1a3a6;">

<h2>管理员权限操作</h2>

<!--登录人员信息-->
<div class="user">

    <span class="span1">当前登录管理员为：<span class="username"><?php echo $_SESSION['adminuser']?></span></span>

    <a class="float-right leave" href="A-index.php?action=logout">退出</a>
</div>

<!--功能按钮组-->
<div class="well">
    <div class="btn-groups">
        <div class="btn-group" role="group">
            <a href="A-delete-account.php"><button type="button" class="btn btn-default">删除账号</button></a>
        </div>
        
        <div class="btn2 btn-group" role="group">
            <a href="A-delete-weibo.php"><button type="button" class="btn btn-default">删除微博</button></a>
        </div>
       
       	<div class="btn2 btn-group" role="group">
            <a href="A-delete-comments.php"><button type="button" class="btn btn-default">删除评论</button></a>
        </div>
    </div>
     <div class="btn-groups">
     
     </div>
        
    <div class="btn-groups btn-groups2">

        <div class="btn-group" role="group">
            <a href="A-heat.php"><button type="button" class="btn btn-default">热度调整</button></a>
        </div>
        <div class="btn2 btn-group" role="group">
            <a href="A-report.php"><button type="button" class="btn btn-default">举报处理</button></a>
        </div>
    </div>

</div>
</body>
</html>